package com.feicheng.lanniao.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 *
 * </p>
 *
 * @author feichengTech
 * @since 2021-09-02
 */

public class Car implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键信息
	 */
	@TableId(value = "car_id", type = IdType.AUTO)
	private Integer carId;

//	/**
//	 * 车的名字
//	 */
//	private String name;

	/**
	 * 车龄
	 */
	private Integer carCondition;

	/**
	 * 车的公里数
	 */
	private Integer mileage;

	/**
	 * 汽车排量 1.0L以下-4.0L以上
	 */
	private String displacement;

	/**
	 * 手动、自动
	 */
	private String transmissionCase;

	/**
	 * 车牌的归属地
	 */
	private String ownerShip;

	/**
	 * 车辆颜色
	 */
	private String color;

	/**
	 * 什么时候生产出来的
	 */
	private LocalDateTime productionDate;

	/**
	 * 车辆的品牌
	 */
	private Integer brandId;

	/**
	 * 车辆的种类：SUV、面包。。。。
	 */
	private String type;

	/**
	 * 国一到国六。
	 */
	private String standard;

	/**
	 * 座位的数量
	 */
	private Integer seats;

	/**
	 * 能源的类型：柴油、汽油。。。。
	 */
	private String energy;

	/**
	 * 前驱、四区、后驱
	 */
	private String drive;

	/**
	 * 车辆封面的图片地址链接
	 */
	private String imgUrl;

	/**
	 * 哪个国家生产的
	 */
	private String country;

	/**
	 * 创建时间
	 */
	private LocalDateTime ct;

	/**
	 * 0-已删除 1-未删除 默认值为1
	 */
	private Boolean delFlag;
	/**
	 * 车辆卖价
	 */
	private Integer sellPrice;
	/**
	 * 车辆租价
	 */
	private Integer rentalPrice;

	private String carBuyTime;

	public String getCarBuyTime() {
		return carBuyTime;
	}

	public void setCarBuyTime(String carBuyTime) {
		this.carBuyTime = carBuyTime;
	}

	public Integer getCarId() {
		return carId;
	}

	public void setCarId(Integer carId) {
		this.carId = carId;
	}

//	public String getName() {
//		return name;
//	}
//
//	public void setName(String name) {
//		this.name = name;
//	}

	public Integer getCarCondition() {
		return carCondition;
	}

	public void setCarCondition(Integer carCondition) {
		this.carCondition = carCondition;
	}

	public Integer getMileage() {
		return mileage;
	}

	public void setMileage(Integer mileage) {
		this.mileage = mileage;
	}

	public String getDisplacement() {
		return displacement;
	}

	public void setDisplacement(String displacement) {
		this.displacement = displacement;
	}

	public String getTransmissionCase() {
		return transmissionCase;
	}

	public void setTransmissionCase(String transmissionCase) {
		this.transmissionCase = transmissionCase;
	}

	public String getOwnerShip() {
		return ownerShip;
	}

	public void setOwnerShip(String ownerShip) {
		this.ownerShip = ownerShip;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public LocalDateTime getProductionDate() {
		return productionDate;
	}

	public void setProductionDate(LocalDateTime productionDate) {
		this.productionDate = productionDate;
	}

	public Integer getBrandId() {
		return brandId;
	}

	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStandard() {
		return standard;
	}

	public void setStandard(String standard) {
		this.standard = standard;
	}

	public Integer getSeats() {
		return seats;
	}

	public void setSeats(Integer seats) {
		this.seats = seats;
	}

	public String getEnergy() {
		return energy;
	}

	public void setEnergy(String energy) {
		this.energy = energy;
	}

	public String getDrive() {
		return drive;
	}

	public void setDrive(String drive) {
		this.drive = drive;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public LocalDateTime getCt() {
		return ct;
	}

	public void setCt(LocalDateTime ct) {
		this.ct = ct;
	}

	public Boolean getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(Boolean delFlag) {
		this.delFlag = delFlag;
	}

	public Integer getSellPrice() {
		return sellPrice;
	}

	public void setSellPrice(Integer sellPrice) {
		this.sellPrice = sellPrice;
	}

	public Integer getRentalPrice() {
		return rentalPrice;
	}

	public void setRentalPrice(Integer rentalPrice) {
		this.rentalPrice = rentalPrice;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
